Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Makefile export with Python 3 #8577

Merged
merged 1 commit into from
Nov 1, 2018
Merged

Fix Makefile export with Python 3 #8577

merged 1 commit into from
Nov 1, 2018

Conversation

lassebm
Copy link
Contributor

@lassebm lassebm commented Oct 29, 2018

Description

In Python 3, the map() function returns a map object, not a list object as in
Python 2. Ensure a list object is returned from format_flags() by wrapping
map() in list(). This is compatible with both Python 2 and 3.

Regression in c777bd6.

Pull request type

[X] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

In Python 3, the map() function returns a map object, not a list object as in
Python 2. Ensure a list object is returned from format_flags() by wrapping
map() in list(). This is compatible with both Python 2 and 3.
@0xc0170
Copy link
Contributor

0xc0170 commented Oct 30, 2018

Thank you @lassebm for fix , we already assigned reviewers and will review it soon !

@cmonr
Copy link
Contributor

cmonr commented Oct 31, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Oct 31, 2018

Build : SUCCESS

Build number : 3523
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/8577/

Triggering tests

/morph test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Oct 31, 2018

@cmonr
Copy link
Contributor

cmonr commented Nov 1, 2018

/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Nov 1, 2018

@NirSonnenschein
Copy link
Contributor

@theotherjimmy , care to take a look? this really should only take a moment (tiny change)

@theotherjimmy
Copy link
Contributor

@NirSonnenschein Thanks for the ping. Feel free to merge this.

@cmonr cmonr merged commit 48bb1a5 into ARMmbed:master Nov 1, 2018
@lassebm lassebm deleted the fix-makefile-export-with-python-3 branch November 1, 2018 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants